返回之前创建过 batch_withdrawal
对象的一个列表。列表是按创建时间进行排序,总是将最新的 batch_withdrawal
对象显示在最前。
请求参数 | 描述 |
---|---|
APP_ID required string | 对应 app 对象的 id ,该参数仅需要填写在请求地址内,查看 如何获取App ID。 |
page optional int | 页码,默认值为 "1",取值范围:1~100000000。 |
per_page optional int | 每页数量,默认值为 "10"。 |
created[gt] optional timestamp | 创建时间大于该值,用 Unix 时间戳表示。 |
created[gte] optional timestamp | 创建时间大于或等于该值,用 Unix 时间戳表示。 |
created[lt] optional timestamp | 创建时间小于该值,用 Unix 时间戳表示。 |
created[lte] optional timestamp | 创建时间小于或等于该值,用 Unix 时间戳表示。 |
status optional string | 提现状态,已申请:created ,处理中:pending ,全部成功:succeeded ,全部失败:failed ,全部取消:canceled ,部分成功:partially_succeeded 。 |
返回
返回一个 batch_withdrawal
对象列表,或者一个错误,详见 错误。
GET https://api.pingxx.com/v1/apps/{APP_ID}/batch_withdrawals
待补充
待补充
待补充
待补充
待补充
待补充
待补充
curl https://api.pingxx.com/v1/apps/app_1Gqj58ynP0mHeX1q/batch_withdrawals \ -H "Pingplusplus-Signature: {SIGNATURE}" \ -H "Pingplusplus-Request-Timestamp: 1478833871" \ -u sk_test_ibbTe5jLGCi5rzfH4OqPW9KC:
待补充
待补充
待补充
待补充
待补充
待补充
待补充
{ "object": "list", "has_more": false, "url": "/v1/apps/app_1Gqj58ynP0mHeX1q/batch_withdrawals", "data": [ { "id": "1901611151015122025", "object": "batch_withdrawal", "app": "app_1Gqj58ynP0mHeX1q", "created": 1478833871, "livemode": false, "amount": 80000, "amount_succeeded": 0, "amount_failed": 0, "amount_canceled": 0, "count": 3, "count_succeeded": 0, "count_failed": 0, "count_canceled": 0, "fee": 0, "metadata": {}, "operation_url": "https://mapi.alipay.com/gateway.do?", "status": "pending", "source": "1801701051435464631", "time_finished": null, "user_fee": 0, "withdrawals": { "object": "list", "url": null, "has_more": false, "data": [ { "id": "1701611150302360654", "object": "withdrawal", "app": "app_1Gqj58ynP0mHeX1q", "amount": 20000, "asset_transaction": "", "balance_transaction": "", "channel": "alipay", "created": 1472648887, "description": "test232description", "extra": { "account": "username@gmail.com", "name": "姓名" }, "failure_msg": null, "fee": 200, "livemode": false, "metadata":{}, "operation_url": null, "order_no": "20160829133002", "source": null, "status": "pending", "time_canceled": null, "time_succeeded": null, "user": "user_001", "user_fee": 50 }, {...}, {...} ] } }, {...}, {...} ] }